DimenLogarithmicSp

EN Utility object for handling SSP (Scalable Sp) dimensions from Java.

PT Objeto utilitário para manipulação de dimensões SSP (Scalable Sp) no Java.

Functions

Link copied to clipboard
fun getDimensionInPx(context: Context, qualifier: DpQualifier, value: Int, fontScale: Boolean = true, inverter: Inverter = Inverter.DEFAULT, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Generic scaling function for Java (PX). PT Função de escala genérica para Java (PX).

Link copied to clipboard
fun getDimensionInSp(context: Context, qualifier: DpQualifier, value: Int, fontScale: Boolean = true, inverter: Inverter = Inverter.DEFAULT, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Generic scaling function for Java (SP value). PT Função de escala genérica para Java (valor SP).

Link copied to clipboard
fun hei(context: Context, value: Int): Float

EN Quick resolution for Screen Height without font scale.

Link copied to clipboard
fun heia(context: Context, value: Int): Float
Link copied to clipboard
fun heii(context: Context, value: Int): Float
Link copied to clipboard
fun heiia(context: Context, value: Int): Float
Link copied to clipboard
fun hemLw(context: Context, value: Int): Float

EN Quick resolution for Screen Height without font scale, landscape is Screen Width.

Link copied to clipboard
fun hemLwa(context: Context, value: Int): Float
Link copied to clipboard
fun hemLwi(context: Context, value: Int): Float
Link copied to clipboard
fun hemLwia(context: Context, value: Int): Float
Link copied to clipboard
fun hemPw(context: Context, value: Int): Float

EN Quick resolution for Screen Height without font scale, portrait is Screen Width.

Link copied to clipboard
fun hemPwa(context: Context, value: Int): Float
Link copied to clipboard
fun hemPwi(context: Context, value: Int): Float
Link copied to clipboard
fun hemPwia(context: Context, value: Int): Float
Link copied to clipboard
fun loghsp(context: Context, value: Int): Float

EN Quick resolution for Screen Height (loghsp). PT Resolução rápida para Altura da Tela (loghsp).

Link copied to clipboard
fun loghspa(context: Context, value: Int): Float
Link copied to clipboard
fun loghspi(context: Context, value: Int): Float
Link copied to clipboard
fun loghspia(context: Context, value: Int): Float
Link copied to clipboard
fun loghspLw(context: Context, value: Int): Float

EN Quick resolution for Screen Height (loghsp), but in landscape orientation it acts as Screen Width (logwsp).

Link copied to clipboard
fun loghspLwa(context: Context, value: Int): Float
Link copied to clipboard
fun loghspLwi(context: Context, value: Int): Float
Link copied to clipboard
fun loghspLwia(context: Context, value: Int): Float
Link copied to clipboard
fun loghspMode(context: Context, value: Int, modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Facilitator for Screen Height (loghsp) with UiModeType override.

Link copied to clipboard
fun loghspPw(context: Context, value: Int): Float

EN Quick resolution for Screen Height (loghsp), but in portrait orientation it acts as Screen Width (logwsp).

Link copied to clipboard
fun loghspPwa(context: Context, value: Int): Float
Link copied to clipboard
fun loghspPwi(context: Context, value: Int): Float
Link copied to clipboard
fun loghspPwia(context: Context, value: Int): Float
Link copied to clipboard
fun loghspQualifier(context: Context, value: Int, qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Quick resolution for Screen Height (hSP) conditional scaling.

Link copied to clipboard
fun loghspRotate(context: Context, value: Int, rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.HEIGHT, orientation: Orientation = Orientation.LANDSCAPE, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Facilitator for Screen Height (loghsp) with rotation override.

Link copied to clipboard
fun loghspScreen(context: Context, value: Int, screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Quick resolution for Screen Height (hSP) context conditional scaling.

Link copied to clipboard
fun logssp(context: Context, value: Int): Float

EN Quick resolution for Smallest Width (logssp). PT Resolução rápida para Smallest Width (logssp).

Link copied to clipboard
fun logsspa(context: Context, value: Int): Float
Link copied to clipboard
fun logsspi(context: Context, value: Int): Float
Link copied to clipboard
fun logsspia(context: Context, value: Int): Float
Link copied to clipboard
fun logsspLh(context: Context, value: Int): Float

EN Quick resolution for Smallest Width (logssp), but in landscape orientation it acts as Screen Height (loghsp).

Link copied to clipboard
fun logsspLha(context: Context, value: Int): Float
Link copied to clipboard
fun logsspLhi(context: Context, value: Int): Float
Link copied to clipboard
fun logsspLhia(context: Context, value: Int): Float
Link copied to clipboard
fun logsspLw(context: Context, value: Int): Float

EN Quick resolution for Smallest Width (logssp), but in landscape orientation it acts as Screen Width (logwsp).

Link copied to clipboard
fun logsspLwa(context: Context, value: Int): Float
Link copied to clipboard
fun logsspLwi(context: Context, value: Int): Float
Link copied to clipboard
fun logsspLwia(context: Context, value: Int): Float
Link copied to clipboard
fun logsspMode(context: Context, value: Int, modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Facilitator for Smallest Width (logssp) with UiModeType override.

Link copied to clipboard
fun logsspPh(context: Context, value: Int): Float

EN Quick resolution for Smallest Width (logssp), but in portrait orientation it acts as Screen Height (loghsp).

Link copied to clipboard
fun logsspPha(context: Context, value: Int): Float
Link copied to clipboard
fun logsspPhi(context: Context, value: Int): Float
Link copied to clipboard
fun logsspPhia(context: Context, value: Int): Float
Link copied to clipboard
fun logsspPw(context: Context, value: Int): Float

EN Quick resolution for Smallest Width (logssp), but in portrait orientation it acts as Screen Width (logwsp).

Link copied to clipboard
fun logsspPwa(context: Context, value: Int): Float
Link copied to clipboard
fun logsspPwi(context: Context, value: Int): Float
Link copied to clipboard
fun logsspPwia(context: Context, value: Int): Float
Link copied to clipboard
fun logsspQualifier(context: Context, value: Int, qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Quick resolution for Smallest Width (swSP) conditional scaling.

Link copied to clipboard
fun logsspRotate(context: Context, value: Int, rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.SMALL_WIDTH, orientation: Orientation = Orientation.LANDSCAPE, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Facilitator for Smallest Width (logssp) with rotation override.

Link copied to clipboard
fun logsspScreen(context: Context, value: Int, screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Quick resolution for Smallest Width (swSP) context conditional scaling.

Link copied to clipboard
fun logwemPh(context: Context, value: Int): Float

EN Quick resolution for Screen Width without font scale, portrait is Screen Height.

Link copied to clipboard
fun logwemPha(context: Context, value: Int): Float
Link copied to clipboard
fun logwemPhi(context: Context, value: Int): Float
Link copied to clipboard
fun logwemPhia(context: Context, value: Int): Float
Link copied to clipboard
fun logwsp(context: Context, value: Int): Float

EN Quick resolution for Screen Width (logwsp). PT Resolução rápida para Largura da Tela (logwsp).

Link copied to clipboard
fun logwspa(context: Context, value: Int): Float
Link copied to clipboard
fun logwspi(context: Context, value: Int): Float
Link copied to clipboard
fun logwspia(context: Context, value: Int): Float
Link copied to clipboard
fun logwspLh(context: Context, value: Int): Float

EN Quick resolution for Screen Width (logwsp), but in landscape orientation it acts as Screen Height (loghsp).

Link copied to clipboard
fun logwspLha(context: Context, value: Int): Float
Link copied to clipboard
fun logwspLhi(context: Context, value: Int): Float
Link copied to clipboard
fun logwspLhia(context: Context, value: Int): Float
Link copied to clipboard
fun logwspMode(context: Context, value: Int, modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Facilitator for Screen Width (logwsp) with UiModeType override.

Link copied to clipboard
fun logwspPh(context: Context, value: Int): Float

EN Quick resolution for Screen Width (logwsp), but in portrait orientation it acts as Screen Height (loghsp).

Link copied to clipboard
fun logwspPha(context: Context, value: Int): Float
Link copied to clipboard
fun logwspPhi(context: Context, value: Int): Float
Link copied to clipboard
fun logwspPhia(context: Context, value: Int): Float
Link copied to clipboard
fun logwspQualifier(context: Context, value: Int, qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Quick resolution for Screen Width (wSP) conditional scaling.

Link copied to clipboard
fun logwspRotate(context: Context, value: Int, rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.WIDTH, orientation: Orientation = Orientation.LANDSCAPE, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Facilitator for Screen Width (logwsp) with rotation override.

Link copied to clipboard
fun logwspScreen(context: Context, value: Int, screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Quick resolution for Screen Width (wSP) context conditional scaling.

Link copied to clipboard
fun scaled(initialBaseValue: Float): LogarithmicSp

EN Starts the build chain for the custom dimension LogarithmicSp from a base Float. PT Inicia a cadeia de construção para a dimensão customizada LogarithmicSp a partir de um Float base.

fun scaled(initialBaseValue: Int): LogarithmicSp

EN Starts the build chain for the custom dimension LogarithmicSp from a base Int. PT Inicia a cadeia de construção para a dimensão customizada LogarithmicSp a partir de um Int base.

Link copied to clipboard
fun sei(context: Context, value: Int): Float

EN Quick resolution for Smallest Width (sei) - Without font scale. PT Resolução rápida para Smallest Width (sei) - Sem escala de fonte.

Link copied to clipboard
fun seia(context: Context, value: Int): Float
Link copied to clipboard
fun seii(context: Context, value: Int): Float
Link copied to clipboard
fun seiia(context: Context, value: Int): Float
Link copied to clipboard
fun semLh(context: Context, value: Int): Float

EN Quick resolution for Smallest Width without font scale, landscape is Screen Height.

Link copied to clipboard
fun semLha(context: Context, value: Int): Float
Link copied to clipboard
fun semLhi(context: Context, value: Int): Float
Link copied to clipboard
fun semLhia(context: Context, value: Int): Float
Link copied to clipboard
fun semLw(context: Context, value: Int): Float

EN Quick resolution for Smallest Width without font scale, landscape is Screen Width.

Link copied to clipboard
fun semLwa(context: Context, value: Int): Float
Link copied to clipboard
fun semLwi(context: Context, value: Int): Float
Link copied to clipboard
fun semLwia(context: Context, value: Int): Float
Link copied to clipboard
fun semPh(context: Context, value: Int): Float

EN Quick resolution for Smallest Width without font scale, portrait is Screen Height.

Link copied to clipboard
fun semPha(context: Context, value: Int): Float
Link copied to clipboard
fun semPhi(context: Context, value: Int): Float
Link copied to clipboard
fun semPhia(context: Context, value: Int): Float
Link copied to clipboard
fun semPw(context: Context, value: Int): Float

EN Quick resolution for Smallest Width without font scale, portrait is Screen Width.

Link copied to clipboard
fun semPwa(context: Context, value: Int): Float
Link copied to clipboard
fun semPwi(context: Context, value: Int): Float
Link copied to clipboard
fun semPwia(context: Context, value: Int): Float
Link copied to clipboard

EN Eagerly initializes DimenCache (persistence / DataStore) so the first resolution on a hot path avoids lazy-init work. PT Inicializa o DimenCache antecipadamente para evitar custo lazy no primeiro uso.

Link copied to clipboard
fun wei(context: Context, value: Int): Float

EN Quick resolution for Screen Width without font scale.

Link copied to clipboard
fun weia(context: Context, value: Int): Float
Link copied to clipboard
fun weii(context: Context, value: Int): Float
Link copied to clipboard
fun weiia(context: Context, value: Int): Float
Link copied to clipboard
fun wemLh(context: Context, value: Int): Float

EN Quick resolution for Screen Width without font scale, landscape is Screen Height.

Link copied to clipboard
fun wemLha(context: Context, value: Int): Float
Link copied to clipboard
fun wemLhi(context: Context, value: Int): Float
Link copied to clipboard
fun wemLhia(context: Context, value: Int): Float